package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.RejectReasonResDTO;
import com.jzo2o.customer.model.dto.response.WorkerCertificationAuditResDTO;

/**
* @author lizhijun
* @description 针对表【worker_certification_audit(服务人员认证审核表)】的数据库操作Service
* @createDate 2025-09-26 15:59:57
*/
public interface IWorkerCertificationAuditService extends IService<WorkerCertificationAudit> {
    /**
     * 分页查询认证审核
     * @param pageQueryReqDTO 查询条件
     * @return 分页结果
     */
    Page<WorkerCertificationAudit> pageAudit(WorkerCertificationAuditPageQueryReqDTO pageQueryReqDTO);

    /**
     *  获取拒绝原因
     * @return
     */
    RejectReasonResDTO getRejectReason();

    /**
     * 服务人员认证审核
     * @param id
     * @param certificationStatus
     * @param rejectReason
     */
    void audit(Long id, Integer certificationStatus, String rejectReason);
}
